package chapter1.domain.entity.dto;

import chapter1.domain.enums.RoleDataScope;

/**
 * 数据传输对象类型-角色
 *
 * @author 郑植航
 * @since 2025/4/18 15:02
 */
public class RoleDto extends BaseDto{
    //角色名称
    public String name;

    //角色数据访问范围
    public RoleDataScope dataScope;

    public RoleDto() {
    }
    public RoleDto(String name, RoleDataScope dataScope) {
        this.name = name;
        this.dataScope = dataScope;
    }
}
